package com.hzg.ssm.service;

import com.hzg.ssm.domain.User;
import com.hzg.ssm.query.PageResult;
import com.hzg.ssm.query.QueryObject;

import java.util.List;

/**
 * @ Description: TODO
 * @ Author: 卓哥
 * @ Date: 2020/7/5 18:45
 * @ Version: 1.0
 */
public interface IUserService {
    void delete(Long id);

    void insert(User user);

    User select(Long id);

    List<User> selectAll();

    void update(User user);
//    pageResult
    PageResult<User> query(QueryObject queryObject);
}
